<template>
	<!-- <div id="app">
    <div id="nav">
      <router-link to="/">Home</router-link> |
      <router-link to="/about">About</router-link>
    </div>
    <router-view/>
  </div> -->
	<div id="app">
		<!-- <img src="./assets/logo.png"> -->
		<!-- <a-config-provider :locale="zhCN"> -->
			<router-view />
		<!-- </a-config-provider> -->
	</div>
</template>
<script>
	console.log("当前环境", process.env.VUE_APP_NODE_ENV)
	if (process.env.VUE_APP_NODE_ENV == 'prod') {
		console.log = () => {}
	}

// 	window.console = (function() {
// 
// 		var c = {};
// 
// 		// c.log = 'undefined'
// 		c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile = c.clear = c.exception = c.trace = c.assert = function() {};
// 
// 		return c;
// 
// 	})();
	import zhCN from 'ant-design-vue/es/locale-provider/zh_CN';
	export default {
		name: 'appp',
		props: {
			msg: String
		},
		data() {
			return {
				zhCN
			}
		},
		methods: {
			toab() {
				this.$router.push({
					name: "About",
					params: {
						iid: '123'
					}
				})
			}
		}
	}
</script>
<style lang="less">
	#app {
		font-family: Avenir, Helvetica, Arial, sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-align: center;
		color: #2c3e50;
	}

	#nav {
		padding: 30px;

		a {
			font-weight: bold;
			color: #2c3e50;

			&.router-link-exact-active {
				color: #42b983;
			}
		}
	}
	i.ant-calendar-picker-icon{
		color:#4d88c2
	}
</style>
